/*
Author: kenrich
Time:2016-10-21 -- 2016-10-22
*/
/* reset */
/*通用*/
img{
    max-width: 100%;
    width: auto\9;
    height: auto;
    border: 0;
    vertical-align: middle;
    -ms-interpolation-mode: bicubic;
}
a{
    text-decoration: none;
    color: #4b4b4b
}
a:hover,a:focus{
    text-decoration: none;
    outline: none;
    color: #333;
}

body{
    font-family:"Microsoft Yahei",sans-serif, 'Titillium Web',"Arial Black";
    color: #333;
    background: #f0f4f6;
}
h1,h2,h3,h4,h5,h6{
    font-family:"Microsoft Yahei",sans-serif, 'Titillium Web', "Arial Black";
    margin: 0;
    padding: 0
}
hr{
    width: 100px;
    margin: 1em auto 2em;
}
strong{
    display: block;
    font-size: 1.5em;
    font-weight: normal;
    padding:1em 0;
}
ul,li{
    margin: 0;
    padding: 0
}
li{
    list-style-type: none;
}
.left{
    float: left;
}
.right{
    float: right;
}
.db{
    display: block;
}
.dn{
    display: none;
}

/*清除浮动*/
.clearfix:before, .clearfix:after {
    content:""; display:table;
}
.clearfix:after{
    clear:both; overflow:hidden;
}
.clearfix{
    zoom:1;
}
/*end 通用*/


/*顶部*/
.header{
    height: 40px;
    background: #ff5722;
    line-height: 40px;
    color: #fff;
    position: fixed;
    top:0;
    display: block;
    width: 100%;
}
.header-left{
    float: left;
    width: 33%;
}
.header-left a{
    background: url(../images/back.png) no-repeat 0 center;
    height: 40px;
    width: 40px;
    background-size: 10px;
    color: #fff;
    padding-left: 15px;
}
.header-center{
    float: left;
    width: 33%;
    text-align: center;
}
.header-right{
    float: left;
    width: 33%;
    text-align: right
}
.header-right img{
    height: 5px;
}

/*详情*/
.detail{
    margin-top: 60px;
}
.detail table{
    background: #fff;
}
.detail table{
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
.detail th{
    font-weight: 400;
    text-align: center;
    background: #ccced0;
    padding: 8px 4px!important;
    border-bottom: 0!important;
}
.detail td{
    text-align: center;
    padding: 10px 4px 8px 4px!important;
    font-size: 12px;
}
.detail .add img{
    width: 20px;
}
.detail .minus img{
    width: 20px;
}
.dta-bianji{
    width: 55px;
    height: 36px;
    background: url(../images/bianji.png) no-repeat center center;
    -webkit-background-size: 20px;
    background-size: 20px;
    cursor: pointer;
}
.detail p{
    font-size: 12px;
    margin-bottom: 0;
}
.dta-b{
    width: 55px;
}
.dta-c{
    width: 100px;
}
.dta-d{
    width: 55px;
}
.detail-xx-left{
    float: left;
    height: 34px;
    line-height: 34px;
    width: 24%;
}
.detail-xx-center{
    float: left;
    height: 34px;
    line-height: 34px;
    width: 36%;
    text-align: center;
}
.detail-xx-right{
    float: left;
    height: 34px;
    line-height: 34px;
    width: 40%;
    text-align: right;
}


/*底部*/
.footer{
    margin-bottom: 40px;
}
.footer a:hover{
    color:#fff;
}
.bianji{
    width: 24%;
    height: 55px;
    background: url(../images/memo.png) no-repeat center center;
    display: inline-block;
    -webkit-background-size: 40px;
    background-size: 40px;
}
.quxiao{
    width: 24%;
    height: 55px;
    background: url(../images/cancle.png) no-repeat center center;
    display: inline-block;
     -webkit-background-size: 40px;
    background-size: 40px;
}
.jixu{
    width: 24%;
    height: 55px;
    background: url(../images/goon.png) no-repeat center center;
    display: inline-block;
     -webkit-background-size: 40px;
    background-size: 40px;
}
.xiadan{
    width: 24%;
    height: 55px;
    background: url(../images/up.png) no-repeat center center;
    display: inline-block;
     -webkit-background-size: 40px;
    background-size: 40px;
}


/*桌子*/
.zhuozi{
    margin-top: 60px;
}
.zhuozi-left{
    width: 20%;
    left: 15px;
    border:1px solid #ddd;
    border-bottom: 0;
    position: fixed;
    top:100px;
}
.zhuozi-left li a{
    height: 50px;
    line-height: 50px;
    cursor: pointer;
    background: #fff;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    text-align: center;
    display: block;
}
.zhuozi-left li.active a{
    background: #f6ded6;
    color: #ff5722;
    border-bottom: 1px solid #df6612;
}

.zhuozi-right{
    width: 70%;
    height: 403px;
    overflow-x: scroll;
    border:1px solid #ddd;
    border-right: 0;
    float: right;
    background: #fff;
    padding-left: 8px;
    padding-top: 8px;
}
.zhuozi-right li{
    width: 88px;
    height: 85px;
    text-align: center;
    float: left;
    margin-left: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
    cursor: pointer;
    margin-top: 7px;
    padding-top: 20px;
}
.zhuozi-right li p{
    font-size: 12px;
    width: 80px;
    height: 20px;
    line-height: 20px;
    margin: 10px auto 0 auto;
    color:#fff
}
.zhuozi-right .ddz p{
    background: #a8dbac;
}
.zhuozi-right .jcz p{
   background: #5677fc;
}
.zhuozi-right .ydc p{
    background: #fe9076;
}

.zhuozi-right li.active{
    background: #ff5722;
    color: #fff;
}
.zhuozi-right li.active p{
    background: none;
}
.select-people{
    margin-top: 20px;
    margin-bottom: 20px;
}
.select-people .cp-num li {
    width: 40px;
    text-align: center;
    line-height: 28px;
    height: 28px;
    border: 1px solid #ccc;
    margin-left: 5px;
    float: left;
    margin-bottom: 10px;
    border-radius: 3px;
    cursor: pointer;
}
.cp-title .left{
    width: 150px;
}
#edit{
    width: 50px;
    text-align: center;
    height: 28px;
    line-height: 28px;
    color: #fff;
    background: #5677fc;
    display: inline-block;
    margin-left: 15px;
    border-radius: 4px;
    cursor: pointer;  
}
.cp-title b{
    font-weight: 400;
}
#peoplenum{
    font-style: normal;
    margin-right: 3px;
}
.select-people .cp-title .right input{
    width: 70px;
    text-align: center;
    height: 28px;
    line-height: 28px;
    color: #fff;
    background: #5677fc;
    display: inline-block;
    margin-left: 10px;
    border-radius: 4px;
    cursor: pointer;  
    outline: none;
    border:none;
}
.showz{
    display: inline-block;
}

/*自定义点菜*/
#header-nav{
    background: #ff5722;
    position: fixed;
    top:0;
    display: block;
    width: 100%;
    z-index: 999
    -moz-box-shadow:0px 2px 5px #666; -webkit-box-shadow:0px 2px 5px #666; box-shadow:0px 2px 5px #666;
}
#header-nav li{
    width: 50%;
    text-align: center;
    float: left; 
}
#header-nav li.active a{
    border-bottom: 2px solid #fff;
}

#header-nav li a{
    color: #fff;
    height: 40px;
    line-height: 40px;
    display: block; 
}
.zdy-chioce {
    margin: 50px 0 20px 0;
}
.zdy-chioce-a {
    border-bottom: 1px solid #ddd;
}
.zdy-chioce .left {
    height: 34px;
    line-height: 34px;
}
.zdy-chioce-d textarea{
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    height: 80px;
    margin-bottom: 20px;
}
.zdy-chioce-e input{
    outline: none;
    border-radius: 3px;
    border: none;
    background: #3f569b;
    color: #fff;
    height: 28px;
    line-height: 28px;
    width: 54px;
    margin-left: 10px;
    float: right;
}
.zdy-chioce-a input {
    height: 34px;
    line-height: 34px;
    outline: none;
    border: none;
    text-align: right;
    padding-right: 10px;
    background: #f0f4f6;
}
.zdy-chioce input[type=radio ] {
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    opacity: 0;
    filter: "alpha(opacity=0)";
    position: absolute;
    left: 0;
}
.zdy-chioce-b .zuocai {
    position: relative;
}
.zdy-chioce-b .right {
    float: left;
    height: 30px;
    line-height: 30px;
}
.zdy-chioce input[type=radio] + label {
    width: 30px;
    height: 30px;
    background: url(../images/chk1.png) 5px center no-repeat;
    -webkit-background-size: 18px;
    background-size: 18px;
    display: block;
    cursor: pointer;
    margin: 0;
}
.zdy-chioce input[type=radio]:checked + label {
    width: 30px;
    height: 30px;
    background: url(../images/chk2.png) 5px center no-repeat;
    -webkit-background-size: 18px;
    background-size: 18px;
    display: block;
    cursor: pointer;
    margin: 0;
}
.zdy-chioce .zuocai{
    float: left;
    width: 33%;
}
.zdy-chioce-b p{
    margin-top: 5px;
}
.zdy-chioce-d p{
    margin-top: 5px;
}
.zdy-chioce-h{
    border:1px solid #ddd;
    border-radius: 3px;
    background: #fff;
    padding:10px 15px;
}

/*菜名搜寻*/
.pycs{
    margin: 50px 0 20px 0;
    text-align: center;
    z-index: 99;
    position: relative;
}
.pycs .diet-mingzi {
    width: 200px;
    height: 28px;
    line-height: 28px;
    border-radius: 15px;
    outline: none;
    border: 1px solid #ccc;
    text-align: center;
    margin: 10px 0
}
.pycs-center{
    background: #fff;
    height: 345px;/*345*/
    margin-left: 15px;
    margin-right: 15px;
    overflow-y: scroll;
    -moz-box-shadow: 0px 2px 5px #666;
    -webkit-box-shadow: 0px 2px 5px #666;
    box-shadow: 0px 2px 5px #666;
}
.diet-list{
    z-index: 99
}
.diet-list-name{
    background: #fff;
    position: relative;
    width: 75px;
    height: 75px;
    background-size: 40px;
    border:1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    padding-top: 22px;
    float: left;
    margin-left: 10px;
    text-align: center;
    margin-top: 10px;
    cursor: pointer;
     z-index: 99

}
.has-discount{
    background: #fff url(../images/discount.png) no-repeat;
}
.diet-list-name .discount {
    position: absolute;
    top: 10px;
    left: 5px;
    color: #fff;
    font-size: 12px;
    transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}
.pycs-bottom{
    position: fixed;
    bottom:10px;
    width: 100%;
    display: block;
    height: 60px;
    padding: 15px 15px 0 15px;
}
.pycs-bottom .left img{
    width: 40px;
}
.pycs-bottom .right img{
    width: 40px;
}
.pycs-bottom .right{
    position: relative;
}
.gw-num{
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: #fff;
    background: #ff4a26;
    display: inline-block;
    text-align: center;
    line-height: 20px;
    position: absolute;
    top:0;
    right: -2px
}


/*弹出框*/
.tanchukuang{
    padding-right: 0!important;
    bottom:0;
    top:100%;
    margin-top: -228px;
}
.tanchukuang .modal-content{
    box-shadow: none;
    border-radius: 0;
    border:0;
}
.tanchukuang h4{
    height: 40px;
    text-align: center;
    padding-top: 20px;
    margin-bottom: 20px;
}
.tanchukuang .qz{
    background: #ff5722;
    color: #fff;
    cursor: pointer;
    display: block;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    outline: none;
    border:none;
    width: 100%;
    border-radius: 0
}
.tanchukuang input[type=submit]{
    border:none;
    outline: none;
    background: none;
    display: inline-block;
    width: 49%;
    text-align: center;
}
.tanchukuang .giveup{
    border-right: 1px solid #fff!important;
    width: 50%;
}

.tanchukuang input[type=radio ] {
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    opacity: 0;
    filter: "alpha(opacity=0)";
    position: absolute;
    left: 0;
}
.tanchukuang input[type=radio] + label {
    width: 30px;
    height: 30px;
    background: url(../images/chk1.png) 5px center no-repeat;
    -webkit-background-size: 18px;
    background-size: 18px;
    display: block;
    cursor: pointer;
    margin: 0;
}
.tanchukuang input[type=radio]:checked + label {
    width: 30px;
    height: 30px;
    background: url(../images/chk3.png) 5px center no-repeat;
    -webkit-background-size: 18px;
    background-size: 18px;
    display: block;
    cursor: pointer;
    margin: 0;
}
.tanchukuang input[type=checkbox ] {
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    opacity: 0;
    filter: "alpha(opacity=0)";
    position: absolute;
    left: 0;
}
.tanchukuang input[type=checkbox] + label {
    width: 30px;
    height: 30px;
    background: url(../images/chk1.png) 5px center no-repeat;
    -webkit-background-size: 18px;
    background-size: 18px;
    display: block;
    cursor: pointer;
    margin: 0;
}
.tanchukuang input[type=checkbox]:checked + label {
    width: 30px;
    height: 30px;
    background: url(../images/chk3.png) 5px center no-repeat;
    -webkit-background-size: 18px;
    background-size: 18px;
    display: block;
    cursor: pointer;
    margin: 0;
}
.tanchukuang .zuocai {
    float: left;
    width: 33%;
}
.tanchukuang .zuocai .right {
    float: left;
    height: 30px;
    line-height: 30px;
}
.select-zf {
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #fff;
    padding: 10px 15px;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 15px;
    height: 105px;
    overflow-y: scroll;
}
.tanchukuang .zuocai {
    position: relative;
}

/*提示框*/
#tip{
    height: 40px;
    line-height: 40px;
    text-align: center;
    width: 260px;
    color: #fff;
    position: absolute;
    top:50%;
    left:50%;
    margin-top: -20px;
    margin-left: -130px;
    background: #000;
    opacity: 0.8;
    z-index: 999999;
    border-radius: 3px;
    font-size: 16px;
}
#warning{
    height: 40px;
    line-height: 40px;
    text-align: center;
    width: 260px;
    color: #fff;
    position: absolute;
    top:50%;
    left:50%;
    margin-top: -20px;
    margin-left: -130px;
    background: #000;
    opacity: 0.8;
    z-index: 999999;
    border-radius: 3px;
    font-size: 16px;
}

/*确认框*/
#confirmOverlay{
    width:100%;
    height:100%;
    position:fixed;
    top:0;
    left:0;
    background: -moz-linear-gradient(rgba(11,11,11,0.1), rgba(11,11,11,0.6)) repeat-x rgba(11,11,11,0.2);
    background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(11,11,11,0.1)), to(rgba(11,11,11,0.6))) repeat-x rgba(11,11,11,0.2);
    z-index:100000;
}
#confirmBox{
    width:280px;
    position:fixed;
    left:50%;
    top:50%;
    margin:-70px 0 0 -140px;
    height: 140px;
}
#confirmBox p{
    font-size:16px;
    height: 100px;
    background: #fff;
    margin-bottom: 0;
    border-bottom: 1px solid #ccc;
    text-align: center;
    border-radius: 6px 6px 0 0;
    padding: 40px 20px 0 20px;
}
#confirmButtons{
    text-align:center;
    background: #fff;
    border-radius: 0 0 6px 6px
}
#confirmBox .button{
    height: 40px;
    line-height: 40px;
    text-decoration:none;
    border:none;
    width: 50%;
    display: inline-block;
    text-align: center;
    font-size: 16px;
}
#confirmBox .button.blue{
    border-right: 1px solid #ccc;
}
.beiz{
    padding: 0 15px;
}
.beiz label{
    font-weight: 400;
    width: 18%;
    float: left;
    height: 34px;
    line-height: 34px;
}
.beiz input{
    width: 82%;
    float: left;
}
.mzc-tanchukuang{
    margin-top: -210px;
}

/*兼容iphone4 4s*/
@media(device-height :480px) and (-webkit-min-device-pixel-ratio:2){ 
 
}
/* 兼容iphone5 5s*/ 
@media(device-height:568px) and (-webkit-min-device-pixel-ratio:2){ 
 
} 
